﻿<html>
<body>
    <h1>Hello<h1>
    <h2>
        <span>Your user agent is:</span>
        <br/>
        <span id="user-agent-span"></span>
    </h2>
    <script type="text/javascript">document.getElementById("user-agent-span").textContent = navigator.userAgent</script>
</body>
</html>